package com.genexususa.eo.google.data;

import java.io.IOException;
import java.util.HashMap;

public class Properties {

    public static HashMap<String, String> getEOProperties() throws IOException {

        HashMap<String, String> prop = null;

        java.util.Properties properties = new java.util.Properties();
        //properties.load(new FileInputStream("fd.properties"));
        properties.load(Properties.class.getResourceAsStream("/eo.properties"));
        prop = new HashMap<String, String>();
        prop.put("retries", properties.getProperty("retries"));
        prop.put("waitBetweenRetries", properties.getProperty("waitBetweenRetries"));
        //prop.put("url", properties.getProperty("url"));

        return prop;

    }

}